package com.htdata.iiot.api.pojo;

public class Metric {
	private long id;
	private int tid;
	private int did;
	private String deviceName;
	private String componentName;
	private String name;
	private Double valueMin;
	private Double valueMax;

	public Double getValueMin() {
		return valueMin;
	}

	public void setValueMin(Double valueMin) {
		this.valueMin = valueMin;
	}

	public Double getValueMax() {
		return valueMax;
	}

	public void setValueMax(Double valueMax) {
		this.valueMax = valueMax;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Metric(long id,int tid, int did, String deviceName, String componentName, String name, Double valueMin, Double valueMax) {
		this.id = id;
		this.tid = tid;
		this.did = did;
		this.deviceName = deviceName;
		this.componentName = componentName;
		this.name = name;
		this.valueMin = valueMin;
		this.valueMax = valueMax;
	}

	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	public String getDeviceName() {
		return deviceName;
	}
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	public String getComponentName() {
		return componentName;
	}
	public void setComponentName(String metricName) {
		this.componentName = metricName;
	}
	public int getDid() {
		return did;
	}
	public void setDid(int did) {
		this.did = did;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	
	

}
